Implement FIT writing support
authorMartin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
Sun, 17 Mar 2019 22:46:54 +0000 (23:46 +0100)
committerMartin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
Wed, 23 Oct 2019 22:12:09 +0000 (00:12 +0200)
commitb0a32c121f2eb5e461638c75d63ea8ce790fdb86
tree545e63a9094bffee5ef3929e0c1415fa43addc09
parent6ffd2159876aafc10397727a2eb8bd47c85034ae
Implement FIT writing support

Generate FIT courses from tracks+waypoints. Waypoints get mapped to course
points (generic by default, left/right turns if waypoint names contain the
string "left"/"right" or their equivalents in German, French, Spanish,
Italian).

If the original track contains neither time stamps nor speed values,
a fixed speed of 10 km/h gets assigned to the whole course.

Resulting FIT files have been tested and are accepted by a Garmin Edge 130
unit, but are assumed to be usable with any GPS unit supporting FIT.

Track segement markers are ignored at the moment.
garmin_fit.cc
reference/track/fitwrite-track.fit [new file with mode: 0644]
reference/track/fitwrite-track.gpx [new file with mode: 0644]
testo.d/garmin_fit.test
xmldoc/formats/garmin_fit.xml